package com.pace.csc.service;

import com.pace.csc.service.impl.PaymentFeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @auther dsl
 * @create 2020-02-19 23:59
 */
@Component
@FeignClient(value = "cloud-provider-payment", fallback = PaymentFeignServiceImpl.class)
public interface PaymentFeignService {
    @GetMapping(value = "/payment/zk")
    String paymentzk();

    @GetMapping(value = "/payment/feign/timeout")
    String paymentFeignTimeout();
}
